package by.myteam.gonki.bo.enemy;

import java.util.ArrayList;
import java.util.List;

public class EnemyFactory {

	public static final EnemyFactory INSTANCE = new EnemyFactory();
	private List<Enemy> listEnemy = new ArrayList<Enemy>();

	private EnemyFactory() {
	}

	public void createEnemy(EEnemy enemy) {
		switch (enemy) {
		case WALL: {
			listEnemy.add(new WallEnemy());
			break;
		}
		case POOL: {
			listEnemy.add(new PoolEnemy());
		}
		}
	}

	public List<Enemy> getListEnemy() {
		return listEnemy;
	}
}
